Skip to content

A#6

Merged
graceevelyns merged 4 commits intomainfrom
a
May 20, 2025
Merged

A#6
graceevelyns merged 4 commits intomainfrom
a

Conversation

@himanusia
Copy link
Copy Markdown
Owner

No description provided.

@himanusia himanusia requested a review from Copilot May 20, 2025 07:41
@graceevelyns graceevelyns merged commit 020c32d into main May 20, 2025
2 of 114 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a gate scene and enriches the main UI with themed styles, labels, and notification support, while updating project and export configurations.

  • Integrates a new gate.tscn and instantiates it in main.tscn
  • Enhances UI styling in main.tscn with StyleBoxFlat resources and adds Node/Move labels
  • Extends MainScene (main_scene.hpp) to manage notifications and new label fields
  • Adjusts project settings (project.godot) and export paths/features (export_presets.cfg)

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tukang-parkir-simulator/scenes/main.tscn Instantiated gate, added repeated StyleBoxFlat resources, UI labels and theme overrides
tukang-parkir-simulator/scenes/gate.tscn Introduced gate scene with collision and CSG shape
tukang-parkir-simulator/project.godot Set default texture filter to nearest (0)
tukang-parkir-simulator/export_presets.cfg Updated web/windows export paths and enabled extensions_support
test/2.txt Adjusted test input values
src/main_scene/main_scene.hpp Added imports, label fields, notifications, and input overrides
Comments suppressed due to low confidence (3)

tukang-parkir-simulator/scenes/main.tscn:216

  • [nitpick] The generic name NodeLabel could be confused with other labels; consider renaming it to NodeCountLabel to clarify its purpose.
[node name="NodeLabel" type="Label" parent="UI"]

src/main_scene/main_scene.hpp:120

  • Add the override specifier to _notification to clearly indicate it overrides a base class method and catch mismatches at compile time.
void _notification(int p_what);

test/2.txt:2

  • The test input changed from -5 to 4, which may break parsing logic or expected outcomes; verify the test harness and any assertions are updated accordingly.
4

@@ -38,6 +39,44 @@ size = Vector2(6, 6)
data = PackedVector3Array(50, 0, 50, -50, 0, 50, 50, 0, -50, -50, 0, 50, -50, 0, -50, 50, 0, -50)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kuqtn"]
Copy link

Copilot AI May 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Several StyleBoxFlat sub-resources share identical properties; consider defining a single reusable style resource and referencing it to reduce duplication and simplify future updates.

Suggested change
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kuqtn"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_Shared"]

Copilot uses AI. Check for mistakes.
include_filter=""
exclude_filter=""
export_path="../../executable/godot cpp template.html"
export_path="../bin/web/Tukang Parkir Simulator.html"
Copy link

Copilot AI May 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Export paths containing spaces can cause issues in build scripts; consider removing or escaping spaces or using underscores/hyphens.

Suggested change
export_path="../bin/web/Tukang Parkir Simulator.html"
export_path="../bin/web/Tukang_Parkir_Simulator.html"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants